/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  7
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1;
L0 0;
L1 250;

R0 0;
R1 150;
R2 0.5;

W0 0;

W1 #calc "$R1*(0.04)";
W2 #calc "$R1*(-0.04)";
W3 #calc "$R2*(0.04)";
W4 #calc "$R2*(-0.04)";

vertices
(
    ($R0 $W0 $L0) //0
    ($R1 $W1 $L0) //1
    ($R1 $W2 $L0) //2
    
    ($R0 $W0 $L1) //3
    ($R1 $W1 $L1) //4
    ($R1 $W2 $L1) //5
    
    ($R2 $W3 $L0) //6
    ($R2 $W4 $L0) //7
    ($R2 $W3 $L1) //8
    ($R2 $W4 $L1) //9
);

blocks
(
    hex (3 8 9 3 0 6 7 0) (10 1 80) simpleGrading (20 1 1)
    hex (8 4 5 9 6 1 2 7) (40 1 80) simpleGrading (25 1 1)

);

defaultPatch
{
	name wall;
	type wall;
}

boundary
(
    outlet
    {
        type patch;
        faces
        (
            (3 9 8 3)
	    (9 5 4 8)
        );
    }
    inlet
    {
        type patch;
        faces
        (
            (0 6 7 0)
        );
    }
    wedge-1
    {
        type wedge;
        faces
        (
            (0 7 9 3)
	    (7 2 5 9)
        );
    }
    wedge-2
    {
        type wedge;
        faces
        (
            (0 3 8 6)
            (6 8 4 1)
        );
    }
);

// ************************************************************************* //
